package com.hjh.webdemo.Service;


import com.hjh.webdemo.entity.User;

import java.util.List;

public interface UserService {
    public User login(String userCode, String userPassword);
    public int addUser(User user);
    public int deleteUser(Integer id);
    public int updateUser(User user);
    public User getUser(Integer id);
    public List<User> findAllUsers();
}
